
import lombok.Data;

import java.math.BigDecimal;
import java.util.Objects;

/**
 * @Author wxc
 * @Date 2021/5/7 9:44
 */
@Data
public class BizContractFormDTO {
    private String id;
    private String contractId;
    private String productName;
    private String specifications;
    private String brandMaterial;
    private BigDecimal number;
    private BigDecimal price;
    private BigDecimal totalPrice;

    @Override
    public boolean equals(Object o) {
        if (this == o) {
            return true;
        }
        if (o == null || getClass() != o.getClass()) {
            return false;
        }
        BizContractFormDTO that = (BizContractFormDTO) o;
        return Objects.equals(id, that.id);
    }

    @Override
    public int hashCode() {
        return Objects.hash(id);
    }


}
